﻿<Window x:Class="LaTeXGrapher.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="414" Width="449">
    <Window.Resources>
        <Style TargetType="{x:Type Button}">
            <Setter Property="Margin" Value="4,4,4,4" />
            <Setter Property="Padding" Value="4,4,4,4" />
        </Style>
    </Window.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <WrapPanel Grid.Row="0" FlowDirection="RightToLeft">
            <Button Click="Button_Click">_Open File</Button>
            <Button Click="Button_Save">Save EPS</Button>
        </WrapPanel>
        <Canvas Name="canvas" Grid.Row="1">
            <Canvas.Background>
                <LinearGradientBrush EndPoint="0,1">
                    <GradientStop Color="LightBlue" Offset="1"/>
                    <GradientStop Color="White" Offset="0"/>
                </LinearGradientBrush>
            </Canvas.Background>
        </Canvas>
    </Grid>
</Window>
